<?php 
/*
Template Name: Customer Service
*/
get_header();
$this_is_page=true;
?>
		 <div id="container1">
	 	   <div class="AboutSubmenu">
		   	<ul>
				
				<li class="Home"><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/homebutton.png" /></a></li>
				
                             <?php   
                            if($post->post_parent) {
                              $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&exclude=746&echo=0");
                              $titlenamer = get_the_title($post->post_parent);
                              }
                              else {
                              $children = wp_list_pages("title_li=&child_of=".$post->ID."&exclude=746&echo=0");
                              $titlenamer = get_the_title($post->ID);
                              }
                                           ?>
                                <li class="TitleButton"><?php echo $titlenamer; ?></li>
                              <?php
                              if ($children) { ?>
                              <?php echo $children; ?>
                             <?php } ?>
                <li class="Image">
                	<a style="margin-left:15px;" href="<?php bloginfo('url'); ?>/?page_id=746">
						<img src="<?php bloginfo('template_url'); ?>/images/vipclub.png" />
					</a></li>
				<li class="Image"><img src="<?php bloginfo('template_url'); ?>/images/customservicepic.png" /></li>
			</ul>
			
			
		   </div>
		   
		   <div class="contentSub">
			     <div class="titlePic">
				 	<img src="<?php bloginfo('template_url'); ?>/images/<?php echo get_post_meta($post->ID, "titlePicture", $single = true);?>" />
				 </div>                   		  
			  		<div class="contentBody"> 
			  			<div class="contentArticle">
                        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
           					<?php the_content(); ?>	
						<?php endwhile; else: ?><?php endif; ?>
						</div>
					</div>
              
			  <div class="pageBottomPic"></div>
		   </div>
		 </div>

<?php get_footer(); ?>